package trans.define;

import trans.util.PropertyUtil;

public class Const {

	public static final String USER_ID;
	public static final String PASSWORD;
	public static final int MILLI_SECONDS;
	public static final int PREVIOUS_SECONDS_FROM_NOW;
	public static final String NO_RESULT_MESSAGE;
	public static final String FORWARD_RESULT_PAGE;

	static {
		USER_ID = PropertyUtil.getValue("enjatter.id");
		PASSWORD = PropertyUtil.getValue("enjatter.password");
		MILLI_SECONDS = 1000;
		PREVIOUS_SECONDS_FROM_NOW =
			Integer.parseInt(PropertyUtil.getValue("previous.seconds"));
		NO_RESULT_MESSAGE = PropertyUtil.getValue("no.result.message");
		FORWARD_RESULT_PAGE = "/result.jsp";
	}

}
